package com.kgc.service;

import com.github.pagehelper.PageInfo;
import com.kgc.entity.User;

import java.util.List;

public interface UserService {

    public List<User> findAll();
    public void save(User user);
    public void update(User user);
    public User findById(int id);
    public void delete(int id);
    public void deleteByIds(int[] ids);
    public PageInfo<User> findByPage(int page,int pageSize,User user);
}
